package com.ruoyi.ArticleCategory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章类型管理对象 article_category
 * 
 * @author ruoyi
 * @date 2025-01-07
 */
public class ArticleCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章类型id */
    @Excel(name = "文章类型id")
    private Integer id;

    /** 类型名 */
    @Excel(name = "类型名")
    private String categoryName;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer isDeleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
